package bupt.party.online.model;

import java.sql.Timestamp;


/**
 * Admin entity. @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String adminNo;
	private String adminPassword;
	private String adminName;
	private String adminGender;
	private String adminIdentity;
	private String adminNationality;
	private Timestamp adminJoinPartyDate;
	private String adminTelephone;
	private String adminEmail;
	private Integer adminManageBranchId;
	private Integer adminLevel;
	private Integer isDelete;
	private Timestamp adminLatestLoginTime;
	private String adminLatestLoginIp;

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** minimal constructor */
	public Admin(String adminNo, String adminPassword, String adminName,
			String adminGender, String adminIdentity,
			Integer adminManageBranchId, Integer adminLevel, Integer isDelete) {
		this.adminNo = adminNo;
		this.adminPassword = adminPassword;
		this.adminName = adminName;
		this.adminGender = adminGender;
		this.adminIdentity = adminIdentity;
		this.adminManageBranchId = adminManageBranchId;
		this.adminLevel = adminLevel;
		this.isDelete = isDelete;
	}

	/** full constructor */
	public Admin(String adminNo, String adminPassword, String adminName,
			String adminGender, String adminIdentity, String adminNationality,
			Timestamp adminJoinPartyDate, String adminTelephone,
			String adminEmail, Integer adminManageBranchId, Integer adminLevel,
			Integer isDelete,Timestamp adminLatestLoginTime,
			String adminLatestLoginIp) {
		this.adminNo = adminNo;
		this.adminPassword = adminPassword;
		this.adminName = adminName;
		this.adminGender = adminGender;
		this.adminIdentity = adminIdentity;
		this.adminNationality = adminNationality;
		this.adminJoinPartyDate = adminJoinPartyDate;
		this.adminTelephone = adminTelephone;
		this.adminEmail = adminEmail;
		this.adminManageBranchId = adminManageBranchId;
		this.adminLevel = adminLevel;
		this.isDelete = isDelete;
		this.adminLatestLoginTime = adminLatestLoginTime;
		this.adminLatestLoginIp = adminLatestLoginIp;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAdminNo() {
		return this.adminNo;
	}

	public void setAdminNo(String adminNo) {
		this.adminNo = adminNo;
	}

	public String getAdminPassword() {
		return this.adminPassword;
	}

	public void setAdminPassword(String adminPassword) {
		this.adminPassword = adminPassword;
	}

	public String getAdminName() {
		return this.adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getAdminGender() {
		return this.adminGender;
	}

	public void setAdminGender(String adminGender) {
		this.adminGender = adminGender;
	}

	public String getAdminIdentity() {
		return this.adminIdentity;
	}

	public void setAdminIdentity(String adminIdentity) {
		this.adminIdentity = adminIdentity;
	}

	public String getAdminNationality() {
		return this.adminNationality;
	}

	public void setAdminNationality(String adminNationality) {
		this.adminNationality = adminNationality;
	}

	public Timestamp getAdminJoinPartyDate() {
		return this.adminJoinPartyDate;
	}

	public void setAdminJoinPartyDate(Timestamp adminJoinPartyDate) {
		this.adminJoinPartyDate = adminJoinPartyDate;
	}

	public String getAdminTelephone() {
		return this.adminTelephone;
	}

	public void setAdminTelephone(String adminTelephone) {
		this.adminTelephone = adminTelephone;
	}

	public String getAdminEmail() {
		return this.adminEmail;
	}

	public void setAdminEmail(String adminEmail) {
		this.adminEmail = adminEmail;
	}

	public Integer getAdminManageBranchId() {
		return this.adminManageBranchId;
	}

	public void setAdminManageBranchId(Integer adminManageBranchId) {
		this.adminManageBranchId = adminManageBranchId;
	}

	public Integer getAdminLevel() {
		return this.adminLevel;
	}

	public void setAdminLevel(Integer adminLevel) {
		this.adminLevel = adminLevel;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Timestamp getAdminLatestLoginTime() {
		return adminLatestLoginTime;
	}

	public void setAdminLatestLoginTime(Timestamp adminLatestLoginTime) {
		this.adminLatestLoginTime = adminLatestLoginTime;
	}

	public String getAdminLatestLoginIp() {
		return adminLatestLoginIp;
	}

	public void setAdminLatestLoginIp(String adminLatestLoginIp) {
		this.adminLatestLoginIp = adminLatestLoginIp;
	}

}